package com.megvii.koala.data.filter;

import com.megvii.koala.data.bean.StaffBean;

/**
 * Created by linyue on 15/12/31.
 */
public class StaffFilter extends CharacterFilter<StaffBean>
{
    public StaffFilter(String filterStr, boolean whenFilterStrNull)
    {
        super(filterStr, whenFilterStrNull);
    }

    @Override
    public String getValueToFilter(StaffBean object)
    {
        return object.name;
    }
}
